package org.qiyu.live.im.router.interfaces.rpc;

import org.qiyu.live.im.dto.ImMsgBody;

import java.util.List;

/**
 * @Description: //todo
 * @Author: 张广焱
 * @Date: 2024-05-04 上午10:42
 */
public interface ImRouterRpc {
    /**
     * @Description: 发送消息
     * @Author: 张广焱
     * @Date: 2024-05-04  10:42:15
     */
    boolean sendMsg( ImMsgBody imMsgBody);

    /**
     * @Description: 批量发送消息，在直播间内
     * @Author: 张广焱
     * @Date: 2024-06-13  21:40:41
     */
    void batchSendMsg(List<ImMsgBody> imMsgBodies);
}
